home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_400 / 424_02 / ED-157 / make_dos.bat < prev    next >
DOS Batch File  |  1994-03-27  |  2KB  |  33 lines

  1. @rem This file require DJGPP and event library from LIBGRX
  2. @rem
  3. @echo #define GNUDOS > config.h
  4. @echo #define NO_MMAP >> config.h
  5. @echo #define NO_FTP >> config.h
  6. @echo #define NO_NEWS >> config.h
  7. @echo #define USE_NCS >> config.h
  8. @REM echo #define NO_EVENTS
  9. @rem
  10. @echo CC=gcc > compiler
  11. @echo CFLAGS=-O2 >> compiler
  12. @rem
  13. @rem set gcccmd=gcc -c -O2 -m486 (for 486 machine, larger but faster)
  14. set gcccmd=gcc -c -O2
  15. @rem This is broken up due to gccrm limitations
  16. %gcccmd% autowrp.c backspac.c bigger_w.c buffer_a.c buffer_e.c calculat.c calc_lim.c carriage.c scroll_d.c 
  17. %gcccmd% cfg.c cfrendly.c change_c.c command.c copier.c copy_rec.c cqsort.c down_arr.c do_grep.c edit.c ftp.c
  18. %gcccmd% envir_su.c express.c extensio.c file_lis.c find_cha.c find_col.c load_fil.c str_to_b.c dir.c
  19. %gcccmd% find_fil.c find_str.c fixup_re.c fix_botr.c fix_disp.c fix_scro.c get_colu.c get_colb.c  include_.c 
  20. %gcccmd% get_mark.c get_offs.c get_posi.c get_seld.c get_toke.c help.c help_get.c help_loa.c imalloc.c
  21. %gcccmd% init_ter.c inquire.c insert.c insert_w.c insq.c journal.c killer.c left_arr.c libc.c load_buf.c 
  22. %gcccmd% load_key.c main.c match_pa.c match_se.c move_eol.c move_lin.c move_wor.c new_botr.c new_wind.c 
  23. %gcccmd% output_f.c openline.c paint.c paint_wi.c parse_co.c parse_fn.c put.c rec_chgc.c rec_copy.c rec_inse.c
  24. %gcccmd% rec_merg.c rec_spli.c rec_trim.c ref_disp.c ref_wind.c remove_w.c restore_.c right_ar.c save_win.c 
  25. %gcccmd% scroll_u.c select.c set_para.c set_wind.c show_par.c slip_mes.c smaller_.c sort_rec.c store_pa.c 
  26. %gcccmd% tabstop.c toss_dat.c trim.c ttyput.c unselect.c up_arrow.c version.c wincom.c word_fil.c 
  27. %gcccmd% regex.c
  28. gcc *.o -lpc -lqueue -lm -lc -o edc.e
  29. copy edc.e edcdebug.e
  30. strip edc.e
  31. @rem coff2exe -s \dj110\go32\go32ed.exe edc.e
  32. aout2exe edc.e
  33.